package algorithm.poj;

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.List;

/**
 * id: 1010
 * @author wong.tong@gmail.com
 *
 */
public class Stamps {

	public static void main(String[] args) throws Exception {
		
		BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));

        String line;
        String[] tmp;
        String s = "";

        line = stdin.readLine();
        List<Integer> p = new ArrayList<Integer>();
        List<Integer> l = new ArrayList<Integer>();

        while (!"0".equals(line)) {
        	line = stdin.readLine();
        	while (!"0 0".equals(line)) {
        		tmp = line.split("\\s+");
        		p.add(Integer.valueOf(tmp[0]));
        		l.add(Integer.valueOf(tmp[1]));
        		line = stdin.readLine();
        	}
        	s += stamp();
        	p.clear();
        	l.clear();
        	line = stdin.readLine();
        }

        System.out.println(s);
	}
	
	private static String stamp() {
		return "";
	}
}
